<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="lib/vue.js"></script>
</head>
<body>
<div id="example">
    <p>Original message: "{{ message }}"</p>
    <p>Computednihao reversed message: "{{ reversedMessage }}"</p>
</div>
<script>
    const options = {
        data:{
            message : "hello",
        },
        computed: {
            reversedMessage(){
                return this.message.split("").reverse().join("");
            }
        }
    }
    new Vue(options).$mount("#example");
</script>
</body>
</html>